package com.spider;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @description: web启动类
 * @Author: Marver
 * @date: 2018-04-25 17:15
 **/
@SpringBootApplication
@MapperScan({"com.spider.**.mapper"})
@ComponentScan({"com.spider"})
@Configuration
public class SpiderApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpiderApplication.class,args);
    }
}
